package service.impl;

import dao.LoginDao;
import dao.impl.LoginDaoImpl;
import pojo.Admin;
import service.AdminService;

public class AdminServiceImpl implements AdminService {
    LoginDao dao = new LoginDaoImpl();

    public Admin login(String username, String password) {
        return dao.user(username,password);
    }
}
